/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Availability-Monitoring-APIs
 * 可用性监控相关接口，提供创建、查询、修改、删除可用性监控任务等功能
 *
 * OpenAPI spec version: v2
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Detection.Model;

namespace  JDCloudSDK.Detection.Apis
{

    /// <summary>
    ///  查询可用性监控任务列表
    /// </summary>
    public class DescribeProbeTasksRequest : JdcloudRequest
    {
        ///<summary>
        /// 当前所在页，默认为1
        ///</summary>
        public   long? PageNumber{ get; set; }
        ///<summary>
        /// 页面大小，默认为20；取值范围[1, 100]
        ///</summary>
        public   long? PageSize{ get; set; }
        ///<summary>
        /// 根据探测任务的名称查询，支持模糊查询
        ///</summary>
        public   string Name{ get; set; }
        ///<summary>
        /// 根据探测任务的类型查询，1、http 2、telnet
        ///</summary>
        public   long? Type{ get; set; }
        ///<summary>
        /// 查询的可用率、响应时间的时间间隔，为空时默认查询最新点,最大不超过30天，支持分钟级别,小时级别，天级别，例如：1m、1h、1d
        ///</summary>
        public   string TimeInterval{ get; set; }
        ///<summary>
        /// 是否查询可用率、响应时间
        ///</summary>
        public   bool WithStats{ get; set; }
        ///<summary>
        /// 是否包含被删除的task
        ///</summary>
        public   bool WithDeleted{ get; set; }
        ///<summary>
        /// 任务状态：1为启用，0为禁用。默认为查所有的
        ///</summary>
        public   long? Enabled{ get; set; }
        ///<summary>
        /// taskId - taskId，精确匹配，支持多个
        /// name - task名称或探测地址，糊模匹配，支持单个
        ///</summary>
        public List<Filter> Filters{ get; set; }

    }
}